#ifndef		MENU_STATE_H
#define		MENU_STATE_H

//////////////////////////////////////////////////////////////////////////
#include "AppState.h"



//////////////////////////////////////////////////////////////////////////
class MenuState : public AppState
{
public:
	MenuState();
	DECLARE_APPSTATE_CLASS(MenuState)
	void	enter();
	void	createScene();
	void	exit();

	bool	keyPressed(const OIS::KeyEvent &arg);
	bool	keyReleased(const OIS::KeyEvent &arg);

	bool	mouseMoved( const OIS::MouseEvent &arg );
	bool	mousePressed( const OIS::MouseEvent &arg, OIS::MouseButtonID id );
	bool	mouseReleased( const OIS::MouseEvent &arg, OIS::MouseButtonID id );

	void	buttonHit(OgreBites::Button*	button);
	void	update(double timeSinceLastFrame);
	void	checkBoxToggled(OgreBites::CheckBox* box);

private:
	bool	m_bQuit;
	size_t	m_bCalcTray;

};

#endif